package gphoto.services;

import gphoto.bo.PhotoBean;

import java.io.File;
import java.io.IOException;
import java.util.List;

import org.apache.sanselan.ImageReadException;

import com.drew.imaging.jpeg.JpegProcessingException;
import com.drew.metadata.MetadataException;

public interface PhotoServices {

	public List<PhotoBean> recupererPhotos(File rep)
			throws JpegProcessingException, MetadataException,
			ImageReadException, IOException;

	public List<PhotoBean> recupererPhotos(File rep, boolean infoEXIF)
			throws JpegProcessingException, MetadataException,
			ImageReadException, IOException;

	/** @deprecated */
	public void setEXIFInformationToPhoto(PhotoBean photo)
			throws JpegProcessingException, MetadataException;

	public void alimenterMetadata(PhotoBean photo) throws ImageReadException,
			IOException;
}
